﻿<%@ Page MasterPageFile="~/quantri/QuanTri.master" Language="C#" AutoEventWireup="true" CodeFile="frmThemAccount.aspx.cs" Inherits="quantri_Registration" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>



<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    
</asp:Content>
<asp:Content ID="Content2" runat="server" contentplaceholderid="ContentPlaceHolder1">
   <form id="frmRegistry" >
    <div style="width : 100%;">
        <div style="height:10px; width: 100%; ">
            <div style="width:100%;">
                <div class="bg_conner conner_top_left"></div>                            
                <div style=" height: 10px ; width: 98% ; border-top: 1px solid #ccc ; float : left ;"></div>
                <div class="bg_conner conner_top_right"></div>
            </div>
            <div class="clear"></div>
            <!--Content-->
            <div style=" width: 99.5%; border-left: 1px #ccc solid; border-right: 1px #ccc solid;">
                <div style="width: 12%; float: left; margin-left:20px; line-height: 22px;">
                    <asp:Label ID="Label1" runat="server" Text="Họ tên đầy đủ:" CssClass="frmRegisLabel"></asp:Label>
                    <div class="clear"></div>
                    <asp:Label ID="Label2" runat="server" Text="Tên đăng nhập:" CssClass="frmRegisLabel"></asp:Label>
                    <div class="clear"></div>
                    <asp:Label ID="Label3" runat="server" Text="Email: " CssClass="frmRegisLabel"></asp:Label>
                    <div class="clear"></div>
                    <asp:Label ID="Label4" runat="server" Text="Mật khẩu:" CssClass="frmRegisLabel"></asp:Label>
                    <div class="clear"></div>
                    <asp:Label ID="Label5" runat="server" Text="Phân quyền:" CssClass="frmRegisLabel"></asp:Label>
                </div>
                <div style="float:left;width: 21%; line-height: inherit;" >
                    <asp:TextBox ID="txtAccFulName" runat="server" Width="200px" Wrap="False"></asp:TextBox>
                    <asp:TextBox ID="txtAccUserName" runat="server" Width="200px"></asp:TextBox>
                    <asp:TextBox ID="txtAccEmail" runat="server" Width="200px"></asp:TextBox>
                    <asp:TextBox ID="txtAccPassword" runat="server" Width="200px" TextMode="Password"></asp:TextBox>
                    <asp:DropDownList ID="ddPermission" runat="server" 
                        DataSourceID="LinqDataSource1" DataTextField="per_keyword" 
                        DataValueField="Per_id" Width="200px">
                    </asp:DropDownList>
                    <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
                        ContextTypeName="DataClassesDataContext" Select="new (Per_id, per_keyword)" 
                        TableName="Permissions">
                    </asp:LinqDataSource>                                  
                </div>
                <div class="clear"></div>
                    <div style="margin-left: 20px; float: left;">
                        <asp:Button ID="btnSubmitAccount" runat="server" Text="Đăng ký" 
                            onclick="btnSubmitAccount_Click" />
                        <asp:Button ID="btnClear" runat="server" onclick="btnClear_Click" 
                            Text="Làm lại" />
                    </div>
                    
            </div>
            <!--Content-->
            <div class="clear"></div>
            <div style="width: 100%;">
                <div class="bg_conner conner_bottom_left"></div>
                <div style=" height: 10px ; width: 98% ; border-bottom: 1px solid #ccc ; float : left ;"></div>
                <div class="bg_conner conner_bottom_right"></div>
            </div>
        </div>
    </div>
    </form>

</asp:Content>